package com;

public class Hello {
	private String msg;
	
	public String getMsg(){
		System.out.println("getMsg() is called!");
		return msg;
	}
	
	public void setMsg(String msg){
		System.out.println("setMsg() is called!");
		this.msg = msg;
	}
	
	public String execute(){
		System.out.println("Before execute() is called!");
		msg = "execute()";
		this.setMsg("ok");
		System.out.println("execute() is called!");
		//return "a";
		return "success";
	}
	
	public String login(){
		System.out.println("msg = " + msg);
		System.out.println("login() is called!");
		return "login";
	}
}
